Deal with --force-extra-removable with signed shim too
authorSteve McIntyre <93sam@debian.org>
Fri, 14 Jun 2019 15:37:11 +0000 (16:37 +0100)
committerFelix Zielcke <fzielcke@z-51.de>
Thu, 3 Jul 2025 16:35:51 +0000 (18:35 +0200)
commit34afbfc89446745d21c088eefb14050be7e64cdb
tree5f70627459da3f119aa4ea2485276294fe459735
parenta109076a0634799a2689568caa7adc14776b0096
Deal with --force-extra-removable with signed shim too

In this case, we need both the signed shim as /EFI/BOOT/BOOTXXX.EFI
and signed Grub as /EFI/BOOT/grubXXX.efi.

Also install the BOOTXXX.CSV into /EFI/debian, and FBXXX.EFI into
/EFI/BOOT/ so that it can work when needed (*iff* we're updating the
NVRAM).

[cjwatson: Refactored also_install_removable somewhat for brevity and so
that we're using consistent case-insensitive logic.]

Bug-Debian: https://bugs.debian.org/930531
Last-Update: 2021-09-24

Patch-Name: grub-install-removable-shim.patch

Gbp-Pq: Name grub-install-removable-shim.patch
util/grub-install.c